<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
   
       <link rel="stylesheet" href="{$Think.config.Style}/css/ch-ui.admin.css">
    <link rel="stylesheet" href="{$Think.config.Style}/font/css/font-awesome.min.css">
    <script type="text/javascript" src="{$Think.config.Style}/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/js/ch-ui.admin.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/layer/layer.js"></script>
</head>
<body>
    {include file="public/breadcrumb"/}

	<!--结果集标题与导航组件 开始-->
	<div class="result_wrap">
        <div class="result_title">
            <h3>快捷操作</h3>
        </div>
        <div class="result_content">
            <div class="short_wrap">
                <a href="{:url('back/rule/add')}"><i class="fa fa-plus"></i>新增权限菜单</a>
                
            </div>
        </div>
    </div>
    <!--结果集标题与导航组件 结束-->
   <div class="result_wrap">
        <form action="{:url('back/rule/edit',['id'=>$ruleRow['id']])}" method="post">
            <table class="add_tab">
                <tbody>
                    <tr>
                        <th width="120"><i class="require">*</i>上级分类：</th>
                        <td>
                            <select name="parent_id"  >
                                                <option value="0">顶级菜单</option>
                                                {volist name="ruleRows" id="vo"}
                                                <option value="{$vo.id}" {if condition="$vo['id'] eq $ruleRow['parent_id']" } selected="selected" {/if}>{$vo.title}</option>
                                                {volist name="$vo->parent" id="v"}
                                                <option value="{$v.id}" {if condition="$v['id'] eq $ruleRow['parent_id']" } selected="selected" {/if}>------{$v.title}</option>
                                                {/volist} {/volist}
                                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>菜单名称：</th>
                        <td>
                            <input type="text" class="lg" value="{$ruleRow.title}" name="title" placeholder="菜单名称">
                            
                        </td>
                    </tr>
                         <tr>
                        <th><i class="require">*</i>菜单链接：</th>
                        <td>
                            <input type="text" class="lg" name="name" value="{$ruleRow.name}" placeholder="菜单链接">
                            
                        </td>
                    </tr>
                         <tr>
                        <th><i class="require">*</i>ICON图标：</th>
                        <td>
                            <input type="text" class="lg" value="{$ruleRow.class}" name="class" placeholder="ICON图标">
                            
                        </td>
                    </tr>
                                        <tr>
                        <th><i class="require">*</i>排序：</th>
                        <td>
                            <input type="text" class="lg" value="{$ruleRow.sort}" name="sort" placeholder="越小越靠前">
                            
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" value="更新">
                            <input type="button" class="back" onclick="history.go(-1)" value="返回">
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
  
</body>
</html>